function addProDictValue(dictData){
	if(dictData==null){
		var addProDictValue='<form id="addProDictValueFrom" class="form-horizontal">'+
		'<input type="hidden" name= "dictType" id= "dictType"/>'+
		'<input type="hidden" name= "dictIsroot" id= "dictIsroot" value="0"/>'+
		'<div class="control-group">'+
		'<label class="control-label ">数据类型</label>'+
		'<div class="controls" style="width:220px;">'+
		'	<select class="form-control m-wrap span6" data-live-search="true" name="dictCode" id="dictCode" >'+
		'	</select>'+
		'</div>'+
		'</div>'+
		'<div class="control-group">'+
		'	<label class="control-label">键<span class="required">*</span></label>'+
		'	<div class="controls">'+
		'		<input class="m-wrap" size="16" type="text" id="dictKey" data-required="dictKey" name="dictKey" placeholder="请填写键" />'+
		'	</div>'+
		'</div>'+
		'<div class="control-group">'+
		'	<label class="control-label">键值名<span class="required">*</span></label>'+
		'	<div class="controls">'+
		'		<input class="m-wrap" size="16" type="text" id="dictVal" data-required="dictVal" name="dictVal" placeholder="请填写键值名" />'+
		'	</div>'+
		'</div>'+
		'<div class="control-group">'+
		'<label class="control-label">序号<span class="required">*</span></label>'+
		'<div class="controls">'+
		'	<input class="m-wrap" size="16" type="text" id="dictIndex" name="dictIndex" placeholder="请填写序号" />'+
		'</div>'+
		'</div>'+
		'</form>';
	}else{
		var addProDictValue='<form id="addProDictValueFrom" class="form-horizontal">'+
		'<input type="hidden" id="dictId" name="dictId" value="'+dictData.dictId+'">'+
		'<input type="hidden" name="dictCode" id= "dictCode" value="'+dictData.dictCode+'">'+
		'<input type="hidden" name= "dictIsroot" id= "dictIsroot" value="0"/>'+
		'<div class="control-group">'+
		'<label class="control-label">数据类型</label>'+
		'<div class="controls">'+
		'	<input type="text" class="m-wrap" size="16" id="dictType" name="dictType" value='+dictData.dictType+' readonly="readonly" />'+
		'</div>'+
		'</div>'+
		'<div class="control-group">'+
		'	<label class="control-label">键<span class="required">*</span></label>'+
		'	<div class="controls">'+
		'		<input class="m-wrap" size="16" type="text" id="dictKey" name="dictKey" value='+dictData.dictKey+' placeholder="请填写键" />'+
		'	</div>'+
		'</div>'+
		'<div class="control-group">'+
		'	<label class="control-label">键值名<span class="required">*</span></label>'+
		'	<div class="controls">'+
		'		<input class="m-wrap" size="16" type="text" id="dictVal" name="dictVal" value='+dictData.dictVal+' placeholder="请填写键值名" />'+
		'	</div>'+
		'</div>'+
		'<div class="control-group">'+
		'<label class="control-label">序号<span class="required">*</span></label>'+
		'<div class="controls">'+
		'	<input class="m-wrap" size="16" type="text" id="dictIndex" name="dictIndex" value='+dictData.dictIndex+' placeholder="请填写序号" />'+
		'</div>'+
		'</div>'+
		'</form>';
	}
	return addProDictValue;
}


function addProDictDiv(){
	var addProDictDiv=
	'<form id="addProDictFrom" class="form-horizontal">'+
		'<input type="hidden" name= "dictIsroot" id= "dictIsroot" value="1"/>'+
		'<div class="control-group">'+
			'<label class="control-label">数据类型<span class="required">*</span></label>'+
			'<div class="controls">'+
			'	<input type="text" class="m-wrap" size="16" id="dictType" name="dictType" placeholder="请填写数据类型" />'+
			'</div>'+
		'</div>'+
		'<div class="control-group">'+
			'<label class="control-label">数据编码<span class="required">*</span></label>'+
			'<div class="controls">'+
				'<input class="m-wrap" size="16" type="text" id="dictCode" name="dictCode" placeholder="请填写数据编码，值为数字！" />'+
			'</div>'+
		'</div>'+
	'</form>';
	return addProDictDiv;
}